package com.china.school;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

//@ComponentScan("com.china.school")
//@Configuration
//@EnableWebMvc
public class SpringConfig extends AnnotationConfigWebApplicationContext {
    {
        System.out.println("########################");
    }

    public SpringConfig() {
        super.register(SpringConfig.class);
    }
}

